专利摘要:
The present invention relates to a connection method of a terminal and a connection device. When the terminal is connected with the connection device, the terminal applies a reset signal to the connection device, and the connection device transmits a preset device number to the terminal by the reset signal. The terminal detects the type of connected device connected by this device number, and sets the drive mode in correspondence with the detected type of connected device.
公开号:KR19980058365A
申请号:KR1019960077689
申请日:1996-12-30
公开日:1998-09-25
发明作者:박인영
申请人:구자홍;엘지전자 주식회사;
IPC主号:
专利说明:

How to identify access device of terminal
1 is a schematic block diagram showing a connection state of a terminal and a connection device for performing a connection device identification method of a terminal according to the present invention.
2 is a flowchart of a method for identifying a connection device of a terminal according to the present invention.
3 is a flowchart illustrating another embodiment of a method for identifying an access device of a terminal according to the present invention.
Explanation of symbols for the main parts of the drawings
10: terminal 11: plug
12 processor 20 connection device
21: Jack 22: Processor
The present invention relates to a terminal that can be connected to an external access device, and more particularly, to a method for identifying a connection device of a terminal that enables to identify a type of an external connection device connected through a serial port.
The terminals are used in connection with the device main body, and some of the terminals are configured to be connected to and used with various types of connection devices. The connection between the terminal and the connecting device is performed by inserting the jack of the connecting device into the plug of the terminal. In this case, since the terminal connected to the access device needs to change the driving mode according to the type of access device connected, the user needs to provide the terminal with information about the type of access device connected to the terminal.
That is, the conventional terminal is configured to determine whether only the jack is inserted into the plug, and it is not possible to determine what kind of connection device is connected through the plug. There was a inconvenience to input manually.
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to provide a method for identifying an access device of a terminal that enables the terminal to automatically determine the type of access device through communication with the terminal. have.
A method for identifying a connected device of a terminal according to the present invention is a method of driving a terminal that can be connected through a jack and a plug of a connected device that transmits a predetermined device number assigned according to the type of device upon application of a reset signal. Monitoring the connection state of the jack; When the plug and the jack are connected, transmitting a reset signal to the connecting device through the plug; Determining whether a device number is received via a plug; If a device number is received, setting an operation mode corresponding to the received device number.
Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
1 is a schematic block diagram of a terminal for carrying out the present invention.
As shown, the plug 11 of the terminal 10 according to the present invention is configured to be connectable with the jack 21 of the connecting device 20, and the terminal P11 in the plug 11 is the jack 21. It is configured to be interconnected with the ground terminal (P21) of the.
At this time, the ground terminal P11 of the plug 11 is connected to the power supply Vcc and the processor 12, and the processor 12 uses the low level signal from the terminal P11 as the plug connection interrupt signal. .
That is, when the jack 21 is not connected to the plug 11, the power supply Vcc voltage is applied from the terminal P11. However, when the jack 21 is connected to the plug 11, the port P11 is grounded. The low level signal is applied to the processor 12 as a pluggable interrupt signal. The processor 12 recognizes the connection of the jack 21 in the plug 11 by this plug interrupt signal.
Here, the plugs 11 and the terminals P12, P13, P22, and P23 of the jack 21 are connected to each other when the plugs 11 and 21 are connected to the processor 12 in the terminal 10. Enable data communication between the processors 22 in the device 20.
At this time, the processor 22 of the connection device 20 stores three device numbers corresponding to the type of the connection device, and the processor 12 in the terminal 10 corresponds to all types of connection devices that can be connected. The number is stored.
At this time, the processor 12 in the terminal 10 stores the device numbers of all the connection devices that can be connected. As described below, the type of the connection devices 20 connected by the device number can be determined.
2 is a flow diagram for the processor 12 to carry out the present invention.
As shown in the flowchart performed by the processor 12 in the terminal 10, the processor 12 first determines whether a plug connection interrupt signal is applied from the terminal P11 (S1), and resets when a plug connection interrupt signal is applied. A signal is transmitted to the connecting device 20 via the terminal P12 (S2).
At this time, the processor 22 in the connection device 20 recognizes the connection state with the terminal 10 by a reset signal applied from the terminal P22, and the device number indicating the type of the connection device described above. Is applied to the terminal P23.
The device number of the connecting device 20 applied to the terminal P23 is applied to the processor 12 via the terminal P13, and the processor 12 identifies the type of the connecting device 20 as this device number, The mode changes to the mode corresponding to the connection device 20 (i.e., for communication) (S3, S4, S5).
On the other hand, the terminal 10 and the connection device 20 may be different from the data transfer rate at the initial connection and the full speed after the connection is completed. For example, when connecting with a general personal computer, the initial connection is connected at a low transmission rate for compatibility with other devices, but in actual communication, the transmission rate is generally high.
3 is a flowchart of the processor 12 for the case where the transmission speed is variable as shown in FIG.
As shown in the drawing, when the type of the connected devices 20 connected by the steps S3 and S4 is identified, the processor 12 applies a predetermined identification signal to the processor 20, and determines the identification of the connected devices 20. After changing the transmission rate at the transmission rate corresponding to the type (S6, S7), the mode is switched to the mode corresponding to (ie, communicating with) the connected device 20 (S5).
At this time, the processor 22 in the access device 20 has a low transmission speed when no identification signal is applied, but should be configured to increase the transmission speed after application of the identification signal.
As described above, the present invention has an effect of increasing convenience of use by automatically identifying the type of the connected device to which the terminal is connected and automatically setting the mode and the transmission speed corresponding to the type of the connected device to which the terminal is connected.
权利要求:
Claims (2)
[1" claim-type="Currently amended] A driving method of a terminal that can be connected through a plug and a jack of a connecting device that transmits a predetermined device number assigned according to the type of device upon application of a reset signal, comprising: monitoring a connection state of the plug and the jack; When the plug and jack are connected, transmitting the reset signal to the connection device through a plug; Determining whether the device number is received through the plug; And when the device number is received, setting an operation mode corresponding to the received device number.
[2" claim-type="Currently amended] 2. The terminal according to claim 1, wherein the connection device is configured to change the data transmission rate upon application of a predetermined confirmation signal, and the terminal identifies the predetermined identification signal if the type of the connection device is identified by the device number. Applying to the connection device; And changing the transmission rate of the data after the transmission of the predetermined identification signal.
类似技术:
公开号 | 公开日 | 专利标题
CN104007801B|2019-05-07|For providing the method and apparatus of power to electronic equipment
US8291128B2|2012-10-16|Systems configured to identify an operating mode
US8924603B2|2014-12-30|Protocol adapter for passing diagnostic messages between a host computer and vehicle networks operating in J1939 or J1708 protocol
US7984318B2|2011-07-19|Apparatus and method to support USB enumeration of a bus powered handheld device
US7779171B2|2010-08-17|Method and apparatus for detecting the type of interface to which a peripheral device is connected
US6836814B2|2004-12-28|Mobile communication terminal device
US5573425A|1996-11-12|Communication cable used in a computer system
DE60220398T2|2007-10-31|Communication interface for an electronic equipment
JP3988931B2|2007-10-10|Method and apparatus for communicating with a host
US8862790B2|2014-10-14|Method for identifying version type of windows operating system on a host by a USB device
US7293118B1|2007-11-06|Apparatus and method for dynamically providing hub or host operations
KR100666518B1|2007-01-11|Portable electronic device comprising common serial bus connector
US6168077B1|2001-01-02|Apparatus and method of providing a dual mode card and reader
US6601124B1|2003-07-29|Universal interface for selectively coupling to a computer port type and method therefor
JP5128193B2|2013-01-23|Device for determining host interface protocol and IC card including the same
JP4051094B2|2008-02-20|Bus interface system and method
US5465349A|1995-11-07|System for monitoring abnormal integrated circuit operating conditions and causing selective microprocessor interrupts
US5636342A|1997-06-03|Systems and method for assigning unique addresses to agents on a system management bus
US7309021B2|2007-12-18|Dual mode controller for ISO7816 and USB enabled smart cards
US7268561B2|2007-09-11|USB attach detection for USB 1.1 and USB OTG devices
US5652839A|1997-07-29|Method of non-intrusively sensing status in a computer peripheral
US7421523B2|2008-09-02|Flash memory card with enhanced operating mode detection and user-friendly interfacing system
US6859669B2|2005-02-22|Apparatus and method of controlling activation of home automation system
CN100401082C|2008-07-09|Method and test adapter for testing an appliance having a smart card reader
KR950009573B1|1995-08-24|Automatic device configuration for dockable portable computers
同族专利:
公开号 | 公开日
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
法律状态:
1996-12-30|Application filed by 구자홍, 엘지전자 주식회사
1996-12-30|Priority to KR1019960077689A
1998-09-25|Publication of KR19980058365A
优先权:
申请号 | 申请日 | 专利标题
KR1019960077689A|KR19980058365A|1996-12-30|1996-12-30|How to identify access device of terminal|
[返回顶部]